import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Question14 {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        
        int t = in.nextInt();
        for (int i = 0; i < t; i++) {
            int n = in.nextInt();

            boolean flag = false;

            int[] nums = new int[n];
            for (int j = 0; j < n; j++) {
                nums[j] = in.nextInt();
            }

            for (int j = 0; j < n; j++) {
                if (nums[j] % 2 == 0) {
                    flag = true;
                    break;
                }
            }

            if (flag) {
                System.out.println("Yes");
                continue;
            }

            for (int j = 0; j < n; j++) {
                for (int k = j + 1; k < n; k++) {
                    int avg = (nums[j] + nums[k]) / 2;

                    if (avg * 2 == nums[j] + nums[k] && avg % 2 == 0) {
                        flag = true;
                        break;
                    }
                }

                if (flag) {
                    break;
                }
            }

            System.out.println(flag ? "Yes" : "No");
        }
    }
}